check if string variable contains only letters c#

56

check if string variable contains only letters c# -

Regex.IsMatch(input, @"^[a-zA-Z]+$");

Comments

Submit
0 Comments